package com.qijian.quality.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.quality.domain.InspectionResultRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 质检结果记录对象
 *
 * @author qijian
 * @date 2025-03-28
 */

@Data
@ToString
public class InspectionResultRecordVo extends InspectionResultRecord{
    @ApiModelProperty("检测具体值")
    List<InspectionResultRecordDetailVo> detailVoList;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long workOrderDetailId;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long workOrderId;

    private String processName;

    private String workOrderNo;

    private String itemName;

    private String itemCode;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long itemId;
}
